package db.dao;

import java.util.HashSet;
import java.util.Set;

/**
 * Teacher entity. @author MyEclipse Persistence Tools
 */

public class Teacher implements java.io.Serializable {

	// Fields

	private String teaid;
	private Dept dept;
	private String teaname;
	private String teasex;
	private String teaidentify;
	private Set teaCourses = new HashSet(0);
	private Set courClasses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Teacher() {
	}

	/** minimal constructor */
	public Teacher(String teaid, String teaname, String teaidentify) {
		this.teaid = teaid;
		this.teaname = teaname;
		this.teaidentify = teaidentify;
	}

	/** full constructor */
	public Teacher(String teaid, Dept dept, String teaname, String teasex, String teaidentify, Set teaCourses,
			Set courClasses) {
		this.teaid = teaid;
		this.dept = dept;
		this.teaname = teaname;
		this.teasex = teasex;
		this.teaidentify = teaidentify;
		this.teaCourses = teaCourses;
		this.courClasses = courClasses;
	}

	// Property accessors

	public String getTeaid() {
		return this.teaid;
	}

	public void setTeaid(String teaid) {
		this.teaid = teaid;
	}

	public Dept getDept() {
		return this.dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public String getTeaname() {
		return this.teaname;
	}

	public void setTeaname(String teaname) {
		this.teaname = teaname;
	}

	public String getTeasex() {
		return this.teasex;
	}

	public void setTeasex(String teasex) {
		this.teasex = teasex;
	}

	public String getTeaidentify() {
		return this.teaidentify;
	}

	public void setTeaidentify(String teaidentify) {
		this.teaidentify = teaidentify;
	}

	public Set getTeaCourses() {
		return this.teaCourses;
	}

	public void setTeaCourses(Set teaCourses) {
		this.teaCourses = teaCourses;
	}

	public Set getCourClasses() {
		return this.courClasses;
	}

	public void setCourClasses(Set courClasses) {
		this.courClasses = courClasses;
	}

}